package com.example.educms;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.web.bind.annotation.CrossOrigin;

/**
 * @author wlg
 * @create_time 2021-09-05 下午 21:50
 * @function
 */
@SpringBootApplication
@ComponentScan("com.example") //指定扫描位置
@MapperScan("com.example.educms.mapper")
public class CmsApplication {
    public static void main(String[] args) {
        SpringApplication.run(CmsApplication.class,args);

    }
}
